home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / stistics.arc / MULTREGR.DOC < prev    next >
Text File  |  1988-07-24  |  3KB  |  57 lines

  1.                         MULTIPLE LINEAR REGRESSION
  2.  
  3. The program will do multiple linear regression, for example, on age, weight 
  4. and height of 8 boys, using weight as the dependent variable and age/height 
  5. as independent variables.  This would permit one to estimate the weight  of 
  6. a 7 year old boy who is 51 inches tall.
  7.  
  8. EXAMPLE:               INDEPENDENT INDEPENDENT                  
  9.                          VARIABLE   VARIABLE    DEPENDENT
  10. Here is sample         ____#1_________#2________VARIABLE
  11. data for 10 boys:          AGE       HEIGHT      WEIGHT   
  12.                           years      inches      pounds    
  13.                                                             
  14.                             8          59          48      
  15.                             9          55          49      
  16.                             6          50          44      
  17.                            10          80          59      
  18.                             8          61          55      
  19.                             9          75          51      
  20.                             9          67          55      
  21.                             7          58          50     
  22.  
  23. After entering this raw data, the program will print equation coefficients, 
  24. coefficient  of determination, coefficient of multiple correlation and  the 
  25. standard  error of the estimate.  It will then ask for interpolation  input 
  26. (for  example,  you  might want to know the weight of a 7  year  old  whose 
  27. height  is  51  inches; you would then enter 7 as variable one  and  51  as 
  28. variable 2).  It will then calculate that his weight would be 46.86 pounds.
  29.  
  30. The  raw data may be entered via a data file, created in  the  NON-DOCUMENT 
  31. mode  of  WordStar.   The format for this file is shown  below.   Data  for 
  32. interpolation must be entered from the keyboard, once the initial raw  data 
  33. is entered.
  34.  
  35. MULTIPLE REGRESSION ANALYSIS SAMPLE DATA FILE:
  36.  
  37. Multiregression test data:    <-- Title for the run, up to 65 characters.
  38. 8                             <-- Number of data points (rows).
  39. 2                             <-- Number of independent variables.
  40. 8  59  48                     <-- Data (compare with table above).
  41. 9  55  49                     .
  42. 6  50  44                     .
  43. 10 80  59                     .
  44. 8  61  55                     .
  45. 9  75  51                     .
  46. 9  67  55                     .
  47. 7  58  50                     .
  48.  
  49.  
  50. REFERENCE:  Poole,  L. and M. Borchers  1979  Some Common  Basic  Programs, 
  51.             3rd edition.  Osborne/McGraw-Hill, Berkeley, CA.  Page 147-150.
  52.  
  53. BASIC VERSION:  Poole and Borchers     coded Mar 84 
  54. PASCAL VERSION: Dr. Stanley Kaplan           Sep 85
  55. UPDATES:                                     Oct 86 (Version 2.00)
  56.                                              Feb 87 (Version 2.10)
  57.                                              Feb 88 (MS-DOS Version 2.2)